<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML lang="en">
<HEAD>
 <LINK rel="StyleSheet" href="../BBWin.css">
 <TITLE>Wlbs</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <meta name="copyright" content="Copyright &copy; 2006 by Etienne Grignon. Licenced under GPL.">
</HEAD>
<BODY>
 <H1>Wlbs</H1>
 <H3>Description</H3>
<p>
Wlbs vbscript is used to monitor WLBS (NLB) clusters. It will warn depending :
<UL>
	<LI> the state
</UL>
<H3>Usage</H3>
<p>
Wlbs vbscript uses a configuration file called wlbs.cfg which is located in BBWin etc directory at installation.
It define the default node state of the server monitored.
</p>
<H3>Configuration format</H3>
<p><b>Rule syntax</b></p>
<pre class="Config">
DEFAULTNODESTATUS &lt;StatusType&gt;
</pre>
<p>DEFAULTNODESTATUS will set the default status of the node. WLBS.vbs will signal alerts by comparing
the current status with the default status.  If not defined, the default status is set to started.
</p>
<p>
Possible StatusType are : 
<UL>
<LI><b>stopped</b>: node stopped
<LI><b>started</b>: node started
<LI><b>suspended</b>: node suspended
<LI><b>converged</b>: node converged
</UL>
<H3>Examples</H3>
<UL>
 <LI>Here an example of report :
 <p>
<PRE>

wlbs status

IP : 77.78.79.22

Name : 77.78.79.30:5

Prority : 5

</pre>
<IMG SRC="../green.png" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0>
<pre>Default Status : converged
</pre>
<IMG SRC="../yellow.gif" ALT="yellow" HEIGHT="16" WIDTH="16" BORDER=0>
<pre>Current Status : stopped
</PRE>
</UL>
<H3>Notes</H3>
<UL>
 <LI>This external is not installed by default
 <LI>You may add comments in the wlbs.cfg configuration file, by using the character '#' before your comments
</UL>
</BODY>
</HTML>
